package com.shop.dao;

import java.util.Set;

import com.shop.entity.MerchantOrder;
import com.shop.entity.OrderGoodsList;
import com.shop.entity.OrderLogistics;

public interface MerchantOrderDao {
	/*
	 * 获取属于当前订单的所有商品
	 */
	public Set<OrderGoodsList> findOrderGoodsList(MerchantOrder m) ;
	/*
	 * 插入属于当前订单的所有商品
	 */
	public boolean saveOrderGoodsList(MerchantOrder m, OrderGoodsList goods) ;
	/*
	 * 获取关联的物流
	 */
	public OrderLogistics findOrderLogistics(MerchantOrder m) ;
	/*
	 * 插入关联的物流
	 */
	public boolean saveOrderLogistics(MerchantOrder m, OrderLogistics logistics) ;
}
